ExamPlay Light Logo
Mag-sign In

Computer Science for IGCSE & O level - Programming (Section 9 - No. 50)

What will `myFile.read()` do in Python?
Reads the whole file
Reads a single line
Writes to the file
Closes the file

Paliwanag

read() reads the entire content of the file into a string.

Mga komento (0)

Mag-login Upang Magkomento
Advertisement
BrainBehindX Inc Logo
©2026; Pinapatakbo ng BrainBehindX Inc